﻿using System;

namespace Smarly.Core
{
	[AttributeUsage(AttributeTargets.Property, AllowMultiple = true)]
	public class DatabaseValidationAttribute : Attribute
	{
		public string Key { get; set; }
		public string Message { get; set; }
		public DatabaseValidationAttribute(string key, string message)
		{
			Key = key;
			Message = message;
		}
	}
}